home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / notify-osd.preinst < prev    next >
Text File  |  2009-10-20  |  481b  |  24 lines

  1. #!/bin/sh
  2. set -e
  3.  
  4. case "$1" in
  5.     install|upgrade)
  6.         # avoid file conflict with notification-daemon
  7.         dpkg-divert --add --rename --package notify-osd --divert /usr/share/dbus-1/services/org.freedesktop.Notifications.service.notify-osd /usr/share/dbus-1/services/org.freedesktop.Notifications.service > /dev/null
  8.         ;;
  9.  
  10.     abort-upgrade)
  11.         ;;
  12.  
  13.     *)
  14.         echo "postinst called with unknown argument \`$1'" >&2
  15.         exit 0
  16.         ;;
  17. esac
  18.  
  19.  
  20.  
  21. exit 0
  22.  
  23.  
  24.